package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.TravelContentReply;
import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;

public interface TravelContentReplyMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TravelContentReply record);

    TravelContentReply selectByPrimaryKey(Long id);

    List<TravelContentReply> selectAll();

    int updateByPrimaryKey(TravelContentReply record);

    List<TravelContentReply> selectReplies(QueryObject qo);

    int getCommentNum(Long travelId);
}